<?php

namespace Mark\Entity;


use Doctrine\ORM\Mapping as ORM;

/**
 * LikePhoto
 *
 * @ORM\Entity(repositoryClass="Mark\Repository\LikeAlbumRepository")
 * @ORM\Table(name="like_album")

 */
class LikeAlbum
{

    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="bigint", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    public $id;
    
    /**
     * @var \Provider
     *
     * @ORM\ManyToOne(targetEntity="Mark\Entity\Like")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="like_id", referencedColumnName="id", onDelete="CASCADE")
     * })
     */
    public $like;

     /**
     * @var \Provider
     *
     * @ORM\ManyToOne(targetEntity="Media\Entity\Album")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="album_id", referencedColumnName="id", onDelete="CASCADE")
     * })
     */
    public $album;
    
    
    
    /**
     * @var \DateTime
     *
     * @ORM\Column(name="created_at", type="datetime", nullable=true)
     */
    public $createdAt;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="modified_at", type="datetime", nullable=false)
     */
    public $modifiedAt;

 
}
